/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package uit.jee.lib.bo;

import java.util.ArrayList;
import uit.jee.lib.access.mapper.BookMapper;
import uit.jee.lib.access.mapper.BookRequestMapper;
import uit.jee.lib.access.mapper.ReaderMapper;
import uit.jee.lib.dto.BookRequestDTO;

/**
 *
 * @author ngloc_it
 */
public class BookRequestBO {

    public boolean CheckExistedRequest(BookRequestDTO req) throws Exception {
        BookRequestMapper mapper = new BookRequestMapper();
        return mapper.CheckExistedRequest(req);
    }

//    public ArrayList<BookRequestDTO> GetAllRequest() throws Exception {
//        BookRequestMapper bookRequestMapper = new BookRequestMapper();
//        BookMapper bookMapper = new BookMapper();
//        ReaderMapper readerMaaper = new ReaderMapper();
//
//
//    }
//
//    public ArrayList<BookRequestDTO> GetRequestUnProcess() throws Exception {
//    }
//
//    public ArrayList<BookRequestDTO> GetRequestProcessed() throws Exception {
//    }
//
//    public BookRequestDTO GetRequest(String requestId) throws Exception {
//    }
//
//    public void Insert(BookRequestDTO bookRe) throws Exception {
//    }
//
//    public void Insert(BookRequestDTO[] bookRes) throws Exception {
//    }
//
//    public void Update(BookRequestDTO bookRe) throws Exception {
//    }
//
//    public void Update(BookRequestDTO[] bookRes) throws Exception {
//    }
//
//    public void Delete(BookRequestDTO bookRe) throws Exception {
//    }
//
//    public void Delete(BookRequestDTO[] bookRe) throws Exception {
//    }
//
//    public void Delete(String requestId) throws Exception {
//    }
}
